package com.wo.cloud.admin.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wo.cloud.admin.entity.SysNotify;
import com.wo.cloud.core.entity.Response;

/**
 * @author liry
 * @version 1.0
 * @date Created on 2021/5/15 22:44
 * Description:
 */
public interface ISysNotifyService extends IService<SysNotify>{

    /**
     * 获取用户下所有系统通知消息
     * @return
     */
    Response getAllSysNotify();

    /**
     * 获取未读通知
     * @return
     */
    Response getUnreadNotify();

    IPage<SysNotify> getSysNotifyPage(Page page);
}
